PDF Functions
PHP Manual

PDF_setgray

(PHP 4, PECL pdflib >= 1.0.0)

PDF_setgraySets drawing and filling color to gray value

Description

void pdf_setgray ( int $pdf document , double $gray value )

The PDF_setgray() function sets the current drawing and filling color to the given gray value.

See also PDF_setrgbcolor_stroke(), PDF_setrgbcolor_fill().


PDF Functions
PHP Manual